﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="TanashCMS.Business"
    namespace="TanashCMS.Business">
	<class name="Navigation" table="Navigation" lazy="false">
		<id column="ID" name="ID">
			<generator class="identity" />
		</id>
		<property name="Title" column="Title" />
    <property name="ItemKey" column="ItemKey" />
		<property name="ParentID" column="ParentID" />
		<property name="TargetID" column="TargetID" />
		<property name="TargetType" column="TargetType" />
		<property name="NavigateURL" column="NavigateURL" />
		<property name="IsStatic" column="IsStatic" />
		<property name="IsDefault" column="IsDefault" />
		<property name="GUID" column="GUID" />
		<property name="State" column="State" />
		<many-to-one name="Website" class="TanashWebsite" column="WebsiteID" foreign-key="ID" />
	</class>
</hibernate-mapping>
